Skip to content

feat(workflows): enable automatic deployment on push to main#12

Merged
emmanuelknafo merged 2 commits into
mainfrom
feature/2020-enable-deploy-on-push
Mar 12, 2026
Merged

feat(workflows): enable automatic deployment on push to main#12
emmanuelknafo merged 2 commits into
mainfrom
feature/2020-enable-deploy-on-push

Conversation

@emmanuelknafo
Copy link
Copy Markdown
Contributor

@emmanuelknafo emmanuelknafo commented Mar 12, 2026

Summary

Uncomments the push trigger on �ranches: [main] in the deploy workflow so that every merge to main automatically deploys the app to Azure.

Changes

  • Enabled push trigger on �ranches: [main] in .github/workflows/deploy.yml`n- Retained workflow_dispatch for manual runs

ADO Work Items

Fixes AB#2020

Epic: #2018 — CI/CD Pipeline & Deployment Automation
Feature: #2019 — GitHub Actions Deployment Workflow
User Story: #2020 — Enable automatic deployment on push to main

… recalculation script

- Introduced DOCXSchemaValidator for validating Word document XML files against XSD schemas, including checks for whitespace preservation, deletions, insertions, and ID constraints.
- Added PPTXSchemaValidator for validating PowerPoint presentation XML files, ensuring proper UUIDs, slide layout IDs, and unique notes slide references.
- Created RedliningValidator to check for tracked changes in Word documents, ensuring changes by a specified author are properly tracked.
- Developed a recalc.py script to recalculate Excel formulas using LibreOffice, providing detailed error summaries for any issues found during the process.
…#2020

- uncomment push trigger on branches: [main] in deploy workflow
- retain workflow_dispatch for manual runs

🚀 - Generated by Copilot
@github-actions
Copy link
Copy Markdown

Coverage Report for Coverage

Status Category Percentage Covered / Total
🔵 Lines 82.42% (🎯 80%) 680 / 825
🔵 Statements 81.96% (🎯 80%) 741 / 904
🔵 Functions 80.51% (🎯 80%) 124 / 154
🔵 Branches 68.82% (🎯 65%) 340 / 494
File CoverageNo changed files found.
Generated in workflow #62 for commit 1522f3f by the Vitest Coverage Report Action

f' document.xml: commentRangeStart id="{comment_id}" has no matching commentRangeEnd'
)

comment_ids = set()
if modified:
xml_file.write_bytes(dom.toxml(encoding="UTF-8"))

except Exception:
target_path = (rels_file.parent.parent / target).resolve()
try:
referenced.add(target_path.relative_to(unpacked_dir.resolve()))
except ValueError:
target_path = (rels_file.parent.parent / target).resolve()
try:
referenced.add(target_path.relative_to(unpacked_dir.resolve()))
except ValueError:
if rid and rid.startswith("rId"):
try:
max_rid = max(max_rid, int(rid[3:]))
except ValueError:
f" {xml_file.name}:{elem.sourceline}: "
f"durableId={val} >= 0x7FFFFFFF"
)
except Exception:
if modified:
xml_file.write_bytes(dom.toxml(encoding="UTF-8"))

except Exception:
print(f"PASSED - No tracked changes by {self.author} found.")
return True

except Exception:
content_lines.append(line)
return "\n".join(content_lines)

except (subprocess.CalledProcessError, FileNotFoundError, Exception):
content = xml_file.read_text(encoding="utf-8")
dom = defusedxml.minidom.parseString(content)
xml_file.write_bytes(dom.toprettyxml(indent=" ", encoding="utf-8"))
except Exception:
@emmanuelknafo emmanuelknafo merged commit 231cf3e into main Mar 12, 2026
9 of 11 checks passed
@emmanuelknafo emmanuelknafo deleted the feature/2020-enable-deploy-on-push branch March 12, 2026 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant